package com.zhkj.txg.module.order.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class RefundDetailResponse(
    val data: RefundDetailEntity? = null
) : BaseResponse()

data class RefundDetailEntity(
    @SerializedName("goods_info")
    val goods: RefundGoodsEntity? = null,
    @SerializedName("refund_info")
    val refundInfo: RefundInfoEntity? = null
)

data class RefundInfoEntity(
    val type: String = "",
    val images: MutableList<String> = mutableListOf(),
    val status: Int = 0,//退款状态  -2用户取消-1不同意0待审核1通过2用户已发货3已收货4换货完成5退款完成
    @SerializedName("need_send")
    val needSend: Boolean = false, //是否需要寄回  可根据此值显示填写单号按钮
    val info: MutableList<String> = mutableListOf()
)